package com.webchat.domain.dto.messagecard;


import lombok.Data;

import java.util.Map;
import java.util.Set;

@Data
public class MessageCardSendDTO {

    private String sender;

    /**
     * 单个接收人
     * 与receivers 二选一
     */
    private String receiver;

    /**
     * 支持多接收人
     * 与receivers 二选一
     */
    private Set<String> receivers;

    private String templateId;

    private String logo;

    private String title;

    /**
     * 模版渲染参数变量
     *
     */
    private Map<String, Object> vars;

    private String redirectName;

    private String redirectUrl;
}
